import { requestType } from '~/config/enum.config'

const SERVICE = 'domain-service'
const CONTROLLER = 'telCaseManageController'

export default {
  /**
   * 根据队列类型获取全部生效队列
   */
   findAllValidQueues: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'findAllValidQueues?request=SELF',
    type: requestType.Get
  },
  /**
   * 根据队列类型获取自催队列
   */
  findQueuesByQueueType: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'findQueuesByQueueType?request=SELF',
    type: requestType.Post
  },
  /**
   * 根据队列类型获取自催队列(改-请求头入参)
   */
  findQueueListByType: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'findQueueListByType',
    type: requestType.Post
  },
  getQueueInfo: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'getQueueInfo',
    type: requestType.Get
  },
  getQueueInfoData: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'getQueueInfo',
    type: requestType.Get
  },
  telTransferCaseNext: { // 下一步
    service: SERVICE,
    controller: CONTROLLER,
    action: 'telTransferCaseNext',
    type: requestType.Post
  },
  telTransferCaseConfirm: { // 确定
    service: SERVICE,
    controller: CONTROLLER,
    action: 'telTransferCaseConfirm',
    type: requestType.Post
  }
}